/**
 * 角色特征类型
 */
export interface CharacterTrait {
  name: string;
  value: string;
}

/**
 * 角色关系类型
 */
export interface CharacterRelationship {
  characterId: string;
  name: string;
  description: string;
}

/**
 * 角色模型
 */
export interface Character {
  id: string;
  createdAt: string;
  updatedAt: string;
  projectId: string;
  name: string;
  avatar?: string;
  age?: number;
  gender?: string;
  description: string;
  background: string;
  traits: CharacterTrait[];
  relationships: CharacterRelationship[];
  gallery: string[];
  notes: string;
}

/**
 * 创建角色参数
 */
export interface CreateCharacterParams {
  projectId: string;
  name: string;
  description: string;
  background?: string;
  age?: number;
  gender?: string;
  avatar?: string;
  traits?: CharacterTrait[];
  relationships?: CharacterRelationship[];
  gallery?: string[];
  notes?: string;
}

/**
 * 更新角色参数
 */
export interface UpdateCharacterParams {
  name?: string;
  description?: string;
  background?: string;
  age?: number;
  gender?: string;
  avatar?: string;
  traits?: CharacterTrait[];
  relationships?: CharacterRelationship[];
  gallery?: string[];
  notes?: string;
} 